package com.bjsxt.service;


import com.bjsxt.commons.DataGridModel;
import com.bjsxt.pojo.Staff;
/**
 * 员工操作service
 * @author 程应康
 *
 */
public interface EmployeesService {
	/**
	 * 查找员工
	 * @param page
	 * @param rows
	 * @return 员工列表
	 */
	DataGridModel findEmployees(Integer page, Integer rows);
	/**
	 * 添加员工
	 * @param staff
	 * @throws Exception 
	 */
	void addEmployees(Staff staff) throws Exception;
	/**
	 * 删除员工
	 * @param staffid
	 * @throws Exception 
	 */
	void dropEmployees(Integer staffid) throws Exception;
	/**
	 * 修改员工信息
	 * @param staff
	 * @throws Exception
	 */
	void modifyEmployees(Staff staff) throws Exception;

}
